package tk.heimashuma.store.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import tk.heimashuma.store.utils.GeetestConfig;
import tk.heimashuma.store.utils.GeetestLib;

@Configuration
public class BeanFactory{
    @Bean
    public GeetestLib geetestLib (){
        return new GeetestLib(GeetestConfig.getGeetest_id(), GeetestConfig.getGeetest_key(),
                GeetestConfig.isnewfailback());
    }
}